package com.lidong.zc.databasemodel.constants.database;

/**
 * 表引擎类型
 *
 * @author LiDong
 * @version 1.0.0
 * @createTime 9/8/2022 9:17 PM
 */
public enum EngineEnum {

    INNODB(1, "INNODB"),
    MYISAM(2, "MYISAM");

    private int flag;
    private String code;

    EngineEnum(int flag, String code) {
        this.flag = flag;
        this.code = code;
    }


    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
